<!DOCTYPE html>
<html ng-app=authapp>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
	<title>江苏省中等职业院校评估系统</title>
	<meta name="keywords" content="江苏省中等职业院校评估系统">
	<meta name="description" content="江苏省中等职业院校评估系统">

	<link rel="stylesheet" href="../../plugin/bootstrap/bootstrap.min.css" />
	<link rel="stylesheet" href="../../basic/style/base.css" />
	<link rel="stylesheet" href="../../models/admin/css/home.css"/>
	<link rel="stylesheet" href="../../models/admin/css/material_applyl.css"/>
    <script src="../../plugin/angular/angular.min.js"></script>
    <script src="../../plugin/angular/angular-cookies.min.js"></script>
    <script src="../../plugin/angular/ng-file-upload.min.js"></script>
    <script src="../../basic/js/source.js"></script>
    <script src="../../basic/js/base.js"></script>
    <script src="../../models/admin/js/meterial_apply_sl.js"></script>
    <script src="../../basic/js/directive.js"></script>
</head>

<body>
	<div authheader></div>
	<div class="main-content" >
	<div leftaside></div>
		<aside>
			<div class="top-bar"><a href="material_apply.html">一级指标申请管理</a><s class="arrowr"></s><span>二级指标申请管理</span></div>
			<div class="m-add" ng-controller="applySLMController">
				<div class="whole-cover" ng-hide="isAddM"></div>
				<div class="add-form" ng-hide="isAddM">
					<div><p>添加二级指标</p></div>
					<!--<div><span>二级指标序号</span><input type="number" ng-model="addFZNum" placeholder="填入数字" title="二级指标会按此数字排序"/></div>-->
					<div><span>二级指标标题</span><input type="text" ng-model="addFZ" placeholder="请输入二级指标标题"/></div>
					<!--<div>
						<span>指标所属专业</span>
						<input type="radio" ng-model="zbMajor" name="choosemajor" checked value="0"/><b>学前</b>
						<input type="radio" ng-model="zbMajor" name="choosemajor"  value="1"/><b>小学</b>
						<input type="radio" ng-model="zbMajor" name="choosemajor"  value="2"/><b>中学</b>
					</div>
					<div><span>二级指标标准</span><textarea ng-model="addBZ" placeholder="请输入二级指标标准"></textarea></div>-->
					<div><div ng-click="addFirstZ()">确认</div><div ng-click="cancelAddM()">取消</div></div>
				</div>
				<!--编辑-->
				<div class="add-form" ng-show="showEdit">
					<div><p>编辑二级指标</p></div>
					<div><span>二级指标序号</span><input type="text" ng-model="item.number" placeholder="填入数字" title="二级指标会按此数字排序" readonly/></div>
					<div><span>二级指标标题</span><input type="text" ng-model="item.s_name" placeholder="请输入二级指标标题"/></div>
					<!--<div>
						<span>指标所属专业</span>
						<input type="radio"  name="major" ng-model="item.major" value="0"/><b>学前</b>
						<input type="radio"  name="major" ng-model="item.major" value="1"/><b>小学</b>
						<input type="radio"  name="major" ng-model="item.major" value="2"/><b>中学</b>
					</div>
					<div>
						<span>二级指标标准</span><textarea ng-model="item.standards" placeholder="请输入二级指标标准"></textarea>
					</div>-->
					<div>
						<div ng-click="doEdit(item)">确认</div>
						<div ng-click="doCancel()">取消</div>
					</div>
				</div>
				<div class="add-apply" ng-click="addM()">添加二级指标</div>
				<div class="list-content">
					<div>
						<div class="cooleList title">
							<i>编号</i>
							<span>二级指标标题</span>
							<!--<span  class="sl">专业</span>
							<span class="sl">标准</span>-->
							<div class="action">操作</div>
						</div>
					</div>
					<div ng-repeat="(num, arraylist) in list">
						<div class="cooleList">
							<i>{{preNum+"."+arraylist.number}}</i>
							<span title="{{arraylist.s_name}}">{{arraylist.s_name}}</span>
							<!--<span class="sl">{{arraylist.majorName}}</span>
							<span title="{{arraylist.s_name}}" class="sl">{{arraylist.s_name}}</span>-->
							<div class="btn" ng-click="edit(arraylist)" style="width: 45px">编辑</div>
							<div class="btn" ng-click="delCollect(arraylist.p_id)" style="width: 45px">删除</div>
							<div class="btn" ng-click="show(num)">查看细则</div>
							<div class="select" id="{{num}}" style="display: none">
								<div class="select-con">
									<span>选择学校：</span>
									<select id="{{'sel'+num}}"class="ng-pristine ng-valid ng-touched ng-untouched ng-not-empty">
										<option value="0" selected="selected">现代化学校</option>
										<option value="1" >优质学校</option>
									</select>
								</div>
								<div class="btn" ng-click="turnTo(arraylist.p_id,preNum+'.'+arraylist.number, num)">保存</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</aside>
	</div>
	<div authfooter></div>
</body>
</html>
